/*******************************************************************************
 * Copyright (c) 2007 TOPCASED. All rights reserved. This program
 * and the accompanying materials are made available under the terms of the
 * Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: Topcased contributors and others - initial API and implementation
 *******************************************************************************/
/**
 * This is a fork of the UML2Java Plug-in developed by Topcased and released under
 * the Eclipse EPL License. http://www.eclipse.org/legal/epl-v10.html
 * In accordance with the license, I have forked the UML2Java plugin and have adapted
 * it to suit the needs of a UML2QoS instrumentation code generator for PHP.
 * 
 * @author Alexandru Burdusel
 */
package org.topcased.uml2qos.utilities;

import org.topcased.uml2qos.log.Uml2QosLog;

/**
 * Log manager
 * 
 * @author Ariel RAMPHUL (Sopra Group - Toulouse)
 */
public final class Log
{

    /**
     * Default private constructor
     */
    private Log()
    {
    }

    /**
     * Method used to log a message in the error log of Eclipse
     * 
     * @param s is the log message
     */
    public static void log(String s)
    {
    	Uml2QosLog.log(4, "uml2qos - " + s);
    }

    /**
     * Method used to log a message in the error log of Eclipse
     * 
     * @param level is the error level of the message (can be 0,1,2,4 or 8). 0 is the less important message and 8 is
     *        the most important message.
     * @param s is the log message
     */
    public static void log(int level, String s)
    {
    	Uml2QosLog.log(level, "uml2qos - " + s);
    }

}
